package com.niu.wm.form;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.StringUtils;

public class ProductSearchForm {

	private String desc_cn;
	private String desc_en;
	private String features;
	private String[] productNo;
	private String catName;
	private String imageSource;
	private String memo;
	
	public String getDesc_cn() {
		return desc_cn;
	}
	public void setDesc_cn(String desc_cn) {
		this.desc_cn = desc_cn;
	}
	public String getDesc_en() {
		return desc_en;
	}
	public void setDesc_en(String desc_en) {
		this.desc_en = desc_en;
	}
	public String getFeatures() {
		return features;
	}
	public void setFeatures(String features) {
		this.features = features;
	}
	public String[] getProductNo() {
		return productNo;
	}
	public void setProductNo(String[] productNo) {
		if(productNo == null || productNo.length ==0)
			this.productNo = null;
		else
			this.productNo = productNo;
	}
	
	public String getCatName() {
		return catName;
	}
	public void setCatName(String catName) {
		if(catName == null || StringUtils.isEmpty(catName))
			this.catName = null;
		else
			this.catName = catName;
	}
	
	public BigDecimal getFactoryPrice1() {
		return factoryPrice1;
	}
	public void setFactoryPrice1(BigDecimal factoryPrice1) {
		this.factoryPrice1 = factoryPrice1;
	}
	public BigDecimal getFactoryPrice2() {
		return factoryPrice2;
	}
	public void setFactoryPrice2(BigDecimal factoryPrice2) {
		this.factoryPrice2 = factoryPrice2;
	}
	public Date getCreated_from() {
		return created_from;
	}
	public void setCreated_from(Date created_from) {
		this.created_from = created_from;
	}
	public Date getCreated_to() {
		return created_to;
	}
	public void setCreated_to(Date created_to) {
		this.created_to = created_to;
	}
	public String getImageSource() {
		return imageSource;
	}
	public void setImageSource(String imageSource) {
		this.imageSource = imageSource;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	private BigDecimal factoryPrice1;
	private BigDecimal factoryPrice2;
	
	private Date created_from;
	private Date created_to;
	
	
}
